package com.hhkj.api.commission.service.biz;

import com.github.pagehelper.PageInfo;
import com.hhkj.api.commission.model.req.ApiCommissionPagingReq;
import com.hhkj.api.commission.model.res.ApiCommissionPagingRes;
import com.hhkj.api.commission.model.res.ApiSaleCommissionCountRes;

/**
 * ApiSaleCommissionBizService
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/11/6 9:59
 */
public interface ApiSaleCommissionBizService {

    /**
     * 分页
     *
     * @param req 请求
     * @return 分页详情
     */
    PageInfo<ApiCommissionPagingRes> paging(ApiCommissionPagingReq req);

    /**
     * 统计佣金信息
     *
     * @return 佣金信息统计
     */
    ApiSaleCommissionCountRes count();
}
